using System;


/// <summary>
/// Summary description for Account
/// </summary>
/// 
namespace CE.Provider
{
    public class Company
    {
        public Company()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _providercompanyid;
        private string _companyname;
        private string _businstype;
        private string _companytype;
        private string _phoneno1;
        private string _phoneno2;
        private string _faxno1;
        private string _faxno2;
        private string _email1;
        private string _email2;
        private string _unitno1;
        private string _unitno2;
        private string _url1;
        private string _url2;
        private string _street;
        private string _city;
        private string _postcode;
        private string _country;

        private string _othercontact1;
        private string _othercontact2;

        private byte[] _companylogosmall1;
        private byte[] _companylogosmall2;
        private byte[] _companylogobig1;
        private byte[] _companylogobig2;
        private string _companylogoserverurl;
        private string _companylogoweburl;
        private string _companycolorcode1;
        private string _companycolorcode2;
        private string _companycolorrgb;

        //common field name
        private string _status;
        private DateTime _createddate;
        private DateTime _modifieddate;
        private Int64 _refceuserid;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private string _info11;
        private string _info12;
        private string _info13;
        private string _info14;
        private string _info15;
        private string _info16;
        private string _info17;
        private string _info18;
        private string _info19;
        private string _info20;

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string CompanyName
        {
            get { return _companyname; }
            set { _companyname = value; }
        }

        public string BusIndType
        {
            get { return _businstype; }
            set { _businstype = value; }
        }

        public string CompanyType
        {
            get { return _companytype; }
            set { _companytype = value; }
        }

        public string PhoneNo1
        {
            get { return _phoneno1; }
            set { _phoneno1 = value; }
        }

        public string PhoneNo2
        {
            get { return _phoneno2; }
            set { _phoneno2 = value; }
        }

        public string Email1
        {
            get { return _email1; }
            set { _email1 = value; }
        }

        public string Email2
        {
            get { return _email2; }
            set { _email2 = value; }
        }

        public string FaxNo1
        {
            get { return _faxno1; }
            set { _faxno1 = value; }
        }

        public string FaxNo2
        {
            get { return _faxno2; }
            set { _faxno2 = value; }
        }

        public string URL1
        {
            get { return _url1; }
            set { _url1 = value; }
        }

        public string URL2
        {
            get { return _url2; }
            set { _url2 = value; }
        }

        public string UnitNo1
        {
            get { return _unitno1; }
            set { _unitno1 = value; }
        }

        public string UnitNo2
        {
            get { return _unitno2; }
            set { _unitno2 = value; }
        }

        public string PostCode
        {
            get { return _postcode; }
            set { _postcode = value; }
        }

        public string Street
        {
            get { return _street; }
            set { _street = value; }
        }

        public string City
        {
            get { return _city; }
            set { _city = value; }
        }

        public string Country
        {
            get { return _country; }
            set { _country = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public string OtherContact1
        {
            get { return _othercontact1; }
            set { _othercontact1 = value; }
        }

        public string OtherContact2
        {
            get { return _othercontact2; }
            set { _othercontact2 = value; }
        }

        public byte[] CompanyLogoSmall1
        {
            get { return _companylogosmall1; }
            set { _companylogosmall1 = value; }
        }

        public byte[] CompanyLogoSmall2
        {
            get { return _companylogosmall2; }
            set { _companylogosmall2 = value; }
        }

        public byte[] CompanyLogoBig1
        {
            get { return _companylogobig1; }
            set { _companylogobig1 = value; }
        }

        public byte[] CompanyLogoBig2
        {
            get { return _companylogobig2; }
            set { _companylogobig2 = value; }
        }

        public string CompanyLogoWebUrl
        {
            get { return _companylogoserverurl; }
            set { _companylogoserverurl = value; }
        }

        public string CompanyLogoServerUrl
        {
            get { return _companylogoserverurl; }
            set { _companylogoserverurl = value; }
        }

        public string CompanyColorCode1
        {
            get { return _companycolorcode1; }
            set { _companycolorcode1 = value; }
        }

        public string CompanyColorCode2
        {
            get { return _companycolorcode2; }
            set { _companycolorcode2 = value; }
        }

        public string CompanyColorCodeRGB
        {
            get { return _companycolorrgb; }
            set { _companycolorrgb = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }


        public string Info13
        {
            get { return _info13; }
            set { _info13 = value; }
        }

        public string Info14
        {
            get { return _info14; }
            set { _info14 = value; }
        }

        public string Info15
        {
            get { return _info15; }
            set { _info15 = value; }
        }

        public string Info16
        {
            get { return _info16; }
            set { _info16 = value; }
        }

        public string Info17
        {
            get { return _info17; }
            set { _info17 = value; }
        }

        public string Info18
        {
            get { return _info18; }
            set { _info18 = value; }
        }

        public string Info19
        {
            get { return _info19; }
            set { _info19 = value; }
        }

        public string Info20
        {
            get { return _info20; }
            set { _info20 = value; }
        }

        public void ClearFields()
        {
            _providercompanyid = 0;
            _companyname = "";
            _businstype = "";
            _companytype = "";
            _phoneno1 = "";
            _phoneno2 = "";
            _email1 = "";
            _email2 = "";
            _url1 = "";
            _url2 = "";
            _faxno1 = "";
            _faxno2 = "";
            _unitno1 = "";
            _unitno2 = "";
            _street = "";
            _postcode = "";
            _city = "";
            _country = "";
            _companylogosmall1 = null;
            _companylogoserverurl = "";
            _companycolorcode1 = "";
            _companycolorcode2 = "";
            _companycolorrgb = "";
            //common field name
            _status = "";
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            _othercontact1 = ""; //not use
            _othercontact2 = ""; //not use

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _info11 = "";
            _info12 = "";
            _info13 = "";
            _info14 = "";
            _info15 = "";
            _info16 = "";
            _info17 = "";
            _info18 = "";
            _info19 = "";
            _info20 = "";
        }
    }
}
